package com.copsoftware.utils;
import org.springframework.aop.framework.ProxyFactory;
public class ProxyManager {
	
	public static void main (String []args)
	{
		ProxyFactory factory= new ProxyFactory(new BeanIntercepted());
		factory.setProxyTargetClass(true);
		factory.addAdvice(new BeanInterceptor());
		factory.getProxy();
			
	}

}
